import axios from '@/libs/api.request'

// 设备监控_刷卡器监控   /sales/transfer/member/asset/page -- 黄刚
//  状态查询
export const cardreaderStatus = (data) => {
  return axios.request({
    url: '/oms/merchant/swiping/machine/statistics',
    method: 'post',
    data: data
  })
}

// 设备监控_刷卡器监控 /oms/merchant/swiping/machine/detail_info -- 黄刚
// 列表查询
export const cardreaderList = (data) => {
  return axios.request({
    url: '/oms/merchant/swiping/machine/detail_info',
    method: 'post',
    data: data
  })
}
// 设备监控_刷卡器监控  -- 黄刚
// 机台分类信息
export const cardreaderclassify = (data) => {
  return axios.request({
    url: '/oms/merchant/swiping/machine/categories',
    method: 'post',
    data: data
  })
}

// 沈监控
// 设备监控_一体机监控    - 黄刚
// 状态查询
export const machineStatus = (data) => {
  return axios.request({
    url: '/oms/merchant/aio/online/statistics',
    method: 'post',
    data: data
  })
}
// 设备监控_一体机监控 -- 黄刚
// 列表查询
export const machineList = (data) => {
  return axios.request({
    url: '/oms/merchant/aio/online/detail',
    method: 'post',
    data: data
  })
}
// 设备监控_出卡监控    - 黄刚
// 状态查询
export const machineDetailStatus = (data) => {
  return axios.request({
    url: '/oms/merchant/aio/card/take_statistics',
    method: 'post',
    data: data
  })
}
// 设备监控_出口监控 -- 黄刚
// 列表查询
export const machineDetailList = (data) => {
  return axios.request({
    url: '/oms/merchant/aio/card/take_detail',
    method: 'post',
    data: data
  })
}
